package com.hulk.mybatis.boot.tenant;


import com.hulk.mybatis.boot.tenant.enums.DbType;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;


/**
 * tenant properties
 *
 * @author hulk
 * @version 1.0.0
 */
@Data
@ConfigurationProperties(prefix = "mybatis.tenant")
public class TenantProperties {

    private String tenantIdColumn ="tenant_id";

    private DbType dbType = DbType.MYSQL;

    private String [] ignoreTenantTables ={"t_tenant"};

    private   Class<? extends TenantContextHolder> tenantContextHolder;


}
